﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Finance.IDal
{
  public  interface ISaleDataDal
    {
        bool Save(int userId, decimal amount, DateTime? saleDate, string remarks, string createUserName,int id);

        IEnumerable<Entity.ViewSaleDataEntity> List(string userName, DateTime? beginDate, DateTime? endDate, int? orgId, int pageIndex, int pageSize, out int total);

        bool Delete(int id);
    }
}
